import request from "./request.js"

//收藏
export function addCollect(data){
	return request({url: "/collect/add",method:"post",data})
}
//查询是否收藏
export function detailCollect(data){
	return request({url: "/collect/detail",method:"get",data,no_loading: true})
}
//收藏列表
export function pageCollect(data){
	return request({url: "/collect/page",method:"get",data})
}
//取消收藏
export function removeCollect(data){
	return request({url: "/collect/remove",method:"post",data})
}

